package com.tech.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tech.auth.model.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Administrator
 */

@Repository
public interface UserMapper extends BaseMapper<User> {

    List<String> findPermissions(@Param("userId") String userId);
}
